using NewFormatProject.Infrastructure.EFCore;
using NewFormatProject.Infrastructure.Dto.Responses.Objects;
namespace NewFormatProject.Server.Instances.Extends.Entitys
{
	public static class SysRightConfigsExtend
{
		public static ResponseSysRightConfigsDto ToResponseDto(this SysRightConfigs entity)
{			return new ResponseSysRightConfigsDto
			{
				id = entity.RcId,
				name = entity.RcName,
				description = entity.RcDescription,
				isBan = entity.RcIsBan,
				isPublish = entity.RcIsPublish,
				createTime = entity.RcCreateTime,
			};
		}
	}
}
